package com.it.pojo;

/**
 *
 * @author hp
 * 放成功或失败参数 调用这个就可以使用
 * success msg
 */
public class CRUDresult {
    private int success=1;
    private String msg="";

    public CRUDresult() {
    }

    public CRUDresult(int success, String msg) {
        this.success = success;
        this.msg = msg;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "CRUDresult{" +
                "success=" + success +
                ", msg='" + msg + '\'' +
                '}';
    }
}
